
package Modele;

/**
 * singleton : presse-papier
 * @author David Phung, Michel Fraser
 */
public class PressePapier {
	private static PressePapier instance = null;
	private String buffer;

	private PressePapier() {
		buffer = "";
	}

	public static PressePapier getInstance() {
		if (instance == null) {
			instance = new PressePapier();
		}
		return instance;
	}

	public void setBuffer(String s) {
		buffer = s;
	}

	public String getBuffer() {
		return buffer;
	}
}
